﻿using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace NExplorer
{
	public class SelectionInfo
	{
		private readonly ReadOnlyCollection<LowerCaseString>	_extensions;
		private readonly bool									_includesDirectories;

		public SelectionInfo(IList<LowerCaseString> extensions, bool includesDirectories)
		{
			_extensions = new ReadOnlyCollection<LowerCaseString>(extensions);
			_includesDirectories = includesDirectories;
		}

		public ReadOnlyCollection<LowerCaseString> Extensions
		{
			get { return _extensions; }
		}

		public bool IncludesDirectories
		{
			get { return _includesDirectories; }
		}
	}
}
